// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.highlighter;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("idea/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/usageHighlighter")
public class UsageHighlightingTestGenerated extends AbstractUsageHighlightingTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K1;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("class.kt")
    public void testClass() throws Exception {
        runTest("testData/usageHighlighter/class.kt");
    }

    @TestMetadata("classRef.kt")
    public void testClassRef() throws Exception {
        runTest("testData/usageHighlighter/classRef.kt");
    }

    @TestMetadata("destructingDeclaration.kt")
    public void testDestructingDeclaration() throws Exception {
        runTest("testData/usageHighlighter/destructingDeclaration.kt");
    }

    @TestMetadata("destructingDeclarationLambdaParams.kt")
    public void testDestructingDeclarationLambdaParams() throws Exception {
        runTest("testData/usageHighlighter/destructingDeclarationLambdaParams.kt");
    }

    @TestMetadata("functionNameIdentifier.kt")
    public void testFunctionNameIdentifier() throws Exception {
        runTest("testData/usageHighlighter/functionNameIdentifier.kt");
    }

    @TestMetadata("implicitIt.kt")
    public void testImplicitIt() throws Exception {
        runTest("testData/usageHighlighter/implicitIt.kt");
    }

    @TestMetadata("implicitReturnExpressionsFromExplicitReturnInLambdas.kt")
    public void testImplicitReturnExpressionsFromExplicitReturnInLambdas() throws Exception {
        runTest("testData/usageHighlighter/implicitReturnExpressionsFromExplicitReturnInLambdas.kt");
    }

    @TestMetadata("implicitReturnExpressionsInLambdasNoHightlighting.kt")
    public void testImplicitReturnExpressionsInLambdasNoHightlighting() throws Exception {
        runTest("testData/usageHighlighter/implicitReturnExpressionsInLambdasNoHightlighting.kt");
    }

    @TestMetadata("importAlias.kt")
    public void testImportAlias() throws Exception {
        runTest("testData/usageHighlighter/importAlias.kt");
    }

    @TestMetadata("importAliasFromStdLibClass.kt")
    public void testImportAliasFromStdLibClass() throws Exception {
        runTest("testData/usageHighlighter/importAliasFromStdLibClass.kt");
    }

    @TestMetadata("importAliasFromStdLibFunction.kt")
    public void testImportAliasFromStdLibFunction() throws Exception {
        runTest("testData/usageHighlighter/importAliasFromStdLibFunction.kt");
    }

    @TestMetadata("importAliasFromStdLibFunctionFromObject.kt")
    public void testImportAliasFromStdLibFunctionFromObject() throws Exception {
        runTest("testData/usageHighlighter/importAliasFromStdLibFunctionFromObject.kt");
    }

    @TestMetadata("importAliasFromStdLibPropertyFromObject.kt")
    public void testImportAliasFromStdLibPropertyFromObject() throws Exception {
        runTest("testData/usageHighlighter/importAliasFromStdLibPropertyFromObject.kt");
    }

    @TestMetadata("labeledAnonymousFun.kt")
    public void testLabeledAnonymousFun() throws Exception {
        runTest("testData/usageHighlighter/labeledAnonymousFun.kt");
    }

    @TestMetadata("labeledLambda.kt")
    public void testLabeledLambda() throws Exception {
        runTest("testData/usageHighlighter/labeledLambda.kt");
    }

    @TestMetadata("labeledLoop.kt")
    public void testLabeledLoop() throws Exception {
        runTest("testData/usageHighlighter/labeledLoop.kt");
    }

    @TestMetadata("lambdaCallReturnExpressions.kt")
    public void testLambdaCallReturnExpressions() throws Exception {
        runTest("testData/usageHighlighter/lambdaCallReturnExpressions.kt");
    }

    @TestMetadata("lambdaCallReturnExpressionsInline.kt")
    public void testLambdaCallReturnExpressionsInline() throws Exception {
        runTest("testData/usageHighlighter/lambdaCallReturnExpressionsInline.kt");
    }

    @TestMetadata("lambdaCallReturnExpressionsInlineUnit.kt")
    public void testLambdaCallReturnExpressionsInlineUnit() throws Exception {
        runTest("testData/usageHighlighter/lambdaCallReturnExpressionsInlineUnit.kt");
    }

    @TestMetadata("localVal.kt")
    public void testLocalVal() throws Exception {
        runTest("testData/usageHighlighter/localVal.kt");
    }

    @TestMetadata("primaryCtor.kt")
    public void testPrimaryCtor() throws Exception {
        runTest("testData/usageHighlighter/primaryCtor.kt");
    }
}
